package com.xd.core.business.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 公证表
 * </p>
 *
 * @author ZX
 * @since 2025-02-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CertificationDetailVo implements Serializable {


    @ApiModelProperty(value = "公证id")
    private String certificationId;

    @ApiModelProperty(value = "进件id")
    private Integer incomingId;

    @ApiModelProperty(value = "放款id")
    private Integer outId;

    @ApiModelProperty(value = "公证失败原因")
    private String failReason;

    @ExcelProperty(value = "公证开始办理日期")
    @ApiModelProperty(value = "公证开始办理日期")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date startTime;

    @ExcelProperty(value = "公证结束办理日期")
    @ApiModelProperty(value = "公证结束办理日期")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "公证状态(0-公证中,1-初审失败,2-初审通过,3-公证失败,4-公证完成)")
    private String status;

    @ExcelProperty(value = "公证状态")
    @ApiModelProperty(value = "公证状态(0-公证中,1-初审失败,2-初审通过,3-公证失败,4-公证完成)")
    private String statusRemark;

    @ExcelProperty(value = "公证证书")
    @ApiModelProperty(value = "公证证书")
    private String certificate;

    @ExcelProperty(value = "姓名")
    @ApiModelProperty(value = "姓名")
    private String name;

    @ExcelProperty(value = "手机号")
    @ApiModelProperty(value = "手机号")
    private String phone;

    @ExcelProperty(value = "身份证")
    @ApiModelProperty(value = "身份证")
    private String idCard;

    @ExcelProperty(value = "期望金额")
    @ApiModelProperty(value = "期望金额")
    private String expectedAmount;

    @ExcelProperty(value = "申请提款金额")
    @ApiModelProperty(value = "申请提款金额")
    private String outLoan;

    @ExcelProperty(value = "订单号")
    @ApiModelProperty(value = "订单号")
    private String incomingOrder;

    @ExcelProperty(value = "合同预览链接")
    @ApiModelProperty(value = "合同预览链接")
    private String previewUrl;

    @ExcelProperty(value = "合同编号")
    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    @ExcelProperty(value = "产品名称")
    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ExcelProperty(value = "产品类型")
    @ApiModelProperty(value = "产品类型")
    private String type;

    @ApiModelProperty(value = "公证执行书申请状态 0:未办理 1:办理申请中 2:办理完成")
    private String certificationApplyStatus;

    @ApiModelProperty(value = "公证执行书申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private String certificationApplyDate;

}
